package com.blog.blog.dto;

/**
 * 文章保存 DTO（用于创建与更新）
 */
public class SaveArticleDTO {
    private String title;
    private String content;
    private String summary;
    private String coverImage;
    private Long categoryId;
    /** 0-草稿，1-发布，2-置顶 */
    private Integer status;
    private java.util.List<Long> tagIds;

    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }
    public String getSummary() { return summary; }
    public void setSummary(String summary) { this.summary = summary; }
    public String getCoverImage() { return coverImage; }
    public void setCoverImage(String coverImage) { this.coverImage = coverImage; }
    public Long getCategoryId() { return categoryId; }
    public void setCategoryId(Long categoryId) { this.categoryId = categoryId; }
    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }
    public java.util.List<Long> getTagIds() { return tagIds; }
    public void setTagIds(java.util.List<Long> tagIds) { this.tagIds = tagIds; }
}


